﻿using System;
using DepIC;

namespace TeF.Runner.Services
{
    internal abstract class BaseService
    {
        private BaseService()
        {
        }

        protected BaseService(IReadOnlyContainer container)
            : this()
        {
           if (container == null)
               throw new ArgumentNullException("container");

            Container = container;
        }

        protected IReadOnlyContainer Container { get; private set; }
    }
}
